﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_SalePay.cs
// 创建时间：2016/12/18
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///销售结算单(ERP_SalePay)数据实体
	/// </summary>
	[Serializable]
	public class ERP_SalePay
	{
		#region 变量定义
		
		///<summary>
		///结算单Id
		///</summary>
		private int _payId;
		
		///<summary>
		///结算单No
		///</summary>
		private string _payNo = String.Empty;
		
		///<summary>
		///销售人员
		///</summary>
		private string _saler = String.Empty;
		
		///<summary>
		///客户
		///</summary>
		private int _customer;
		
		///<summary>
		///录入时间
		///</summary>
		private string _indate = String.Empty;
		
		///<summary>
		///录入人
		///</summary>
		private string _inuser = String.Empty;
		
		///<summary>
		///审核时间
		///</summary>
		private string _checkdate = String.Empty;
		
		///<summary>
		///审核人
		///</summary>
		private string _checker = String.Empty;
		
		///<summary>
		///年
		///</summary>
		private int _year;
		
		///<summary>
		///月
		///</summary>
		private int _month;
		
		///<summary>
		///状态
		///</summary>
		private int _state;
		
		///<summary>
		///是否已生成
		///</summary>
		private int _isIssued;
		
		///<summary>
		///
		///</summary>
		private decimal _sumMoney;
		
		///<summary>
		///
		///</summary>
		private string _remark = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///销售结算单的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_SalePay()
		{
 
		}
		///<summary>
		///销售结算单
		///</summary>
		public ERP_SalePay
		(
			int payId,
			string payNo,
			string saler,
			int customer,
			string indate,
			string inuser,
			string checkdate,
			string checker,
			int year,
			int month,
			int state,
			int isIssued,
			decimal sumMoney,
			string remark
		)
		{
			_payId     = payId;
			_payNo     = payNo;
			_saler     = saler;
			_customer  = customer;
			_indate    = indate;
			_inuser    = inuser;
			_checkdate = checkdate;
			_checker   = checker;
			_year      = year;
			_month     = month;
			_state     = state;
			_isIssued  = isIssued;
			_sumMoney  = sumMoney;
			_remark    = remark;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///结算单Id
		///</summary>
		public int PayId
		{
			get {return _payId;}
			set {_payId = value;}
		}

		
		///<summary>
		///结算单No
		///</summary>
		public string PayNo
		{
			get {return _payNo;}
			set {_payNo = value;}
		}

		
		///<summary>
		///销售人员
		///</summary>
		public string Saler
		{
			get {return _saler;}
			set {_saler = value;}
		}

		
		///<summary>
		///客户
		///</summary>
		public int Customer
		{
			get {return _customer;}
			set {_customer = value;}
		}

		
		///<summary>
		///录入时间
		///</summary>
		public string Indate
		{
			get {return _indate;}
			set {_indate = value;}
		}

		
		///<summary>
		///录入人
		///</summary>
		public string Inuser
		{
			get {return _inuser;}
			set {_inuser = value;}
		}

		
		///<summary>
		///审核时间
		///</summary>
		public string Checkdate
		{
			get {return _checkdate;}
			set {_checkdate = value;}
		}

		
		///<summary>
		///审核人
		///</summary>
		public string Checker
		{
			get {return _checker;}
			set {_checker = value;}
		}

		
		///<summary>
		///年
		///</summary>
		public int year
		{
			get {return _year;}
			set {_year = value;}
		}

		
		///<summary>
		///月
		///</summary>
		public int month
		{
			get {return _month;}
			set {_month = value;}
		}

		
		///<summary>
		///状态
		///</summary>
		public int state
		{
			get {return _state;}
			set {_state = value;}
		}

		
		///<summary>
		///是否已生成
		///</summary>
		public int IsIssued
		{
			get {return _isIssued;}
			set {_isIssued = value;}
		}

		
		///<summary>
		///
		///</summary>
		public decimal SumMoney
		{
			get {return _sumMoney;}
			set {_sumMoney = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
	
		#endregion
		
	}
}